class Admin::CreditcardsController < AdminController

  respond_to :html, :json

  def index
    @creditcards = Creditcard.where(account_id: params[:account_id])
    @creditcards = @creditcards.page params[:page]
  end
end